package com.by.common.core.utils;

import java.time.LocalDate;
import java.time.format.DateTimeFormatter;

public class DateUtils {

    /**
     * 返回系统日期 yyyy-MM-dd
     */
    public static  String getYMD(){
        LocalDate localDate = LocalDate.now();
        return localDate.format(DateTimeFormatter.ISO_LOCAL_DATE);
    }
}
